Package-level declarations

Types

Link copied to clipboard
data class Team(val teamUid: String, val teamName: String, val teamColor: String? = null, val teamDescription: String? = null, val isActive: Boolean = true, val isAssignedToUser: Boolean = false, val members: List<TeamMember> = emptyList(), val createdAt: String, val updatedAt: String, val syncedAt: String? = null)

Domain model representing a Team in the Zuper system.

Link copied to clipboard
sealed class TeamChangeEvent

Event types for team change notifications.

Link copied to clipboard
sealed class TeamError : Exception

Sealed class representing different types of team-related errors.

Link copied to clipboard
data class TeamMember(val userUid: String, val teamUid: String, val memberRole: TeamMemberRole = TeamMemberRole.MEMBER, val isTeamLead: Boolean = false, val isActive: Boolean = true, val joinedAt: String, val leftAt: String? = null, val user: User? = null)

Domain model representing a team member (user within a team).

Link copied to clipboard

Enum representing different member roles within a team.

Link copied to clipboard
sealed class TeamResult

Result wrapper for team operations.

Link copied to clipboard
data class TeamStats(val totalMembers: Int, val activeMembers: Int, val teamLeads: Int, val avgMemberTenure: Double? = null, val completedJobs: Int? = null, val activeJobs: Int? = null)

Data class for team statistics and metrics.

Link copied to clipboard

Enum representing team status and activity levels.